<!DOCTYPE html>
<html ng-app="demo">
    <head>
        <title><?php if(isset($title_for_layout)) echo $title_for_layout; ?></title>
        <meta http-equiv="Content-type" content="text/html;charset=UTF-8" />
        <meta name="description" content="<?php if(isset($description_for_layout)) echo $description_for_layout;?>">
        <meta name="keywords" content="<?php if(isset($keywords_for_layout)) echo $keywords_for_layout;?>">
        <meta name="SKYPE_TOOLBAR" content="SKYPE_TOOLBAR_PARSER_COMPATIBLE" />
        <meta name="format-detection" content="telephone=no" />
        <meta http-equiv="X-UA-Compatible" content="IE=edge">
        <meta name="viewport" content="width=device-width, initial-scale=1.0" />
        <?php echo $this->Html->script(array('libs/modernizr-2.6.2.min'));?>    
        <!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
        <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
        <!--[if lt IE 9]>
        <script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
        <script src="https://oss.maxcdn.com/libs/respond.js/1.4.2/respond.min.js"></script>
        <![endif]-->
        <?php echo $this->Html->meta('icon',$this->Html->webroot('/img/favicon.ico')); ?>
        <?php echo $this->Html->css(array('libs/bootstrap.min','libs/jquery.mmenu','libs/flexslider','custom/icons','custom/help-class','custom/developer','custom/common','custom/common-resposive'));?>
    </head>
    <body class="<?php echo Router::getConfig('code');?>">
        <!-- Go to www.addthis.com/dashboard to customize your tools -->
        <script type="text/javascript" src="//s7.addthis.com/js/300/addthis_widget.js#pubid=ra-549e269238d8f30d" async="async"></script>
        <div id="wrapper">
            <!--Header-->
            <header class="header">
                <div class="container">
                    <span class="liberty"></span>
                    <div class="row">
                        <!-- top header -->
                        <div class="header-top clearfix">
                            <?php echo $this->fetch('header');?>
                        </div>
                        <!-- top header .end -->
                        <!--  nav -->
                        <div class="nav-cus">
                            <?php echo $this->fetch('menu');?>
                        </div>
                        <!--  nav .end -->
                        <!-- banner -->
                        <section class="banner-slider">
                            <?php echo $this->fetch('banner');?>
                        </section>
                        <!-- banner .end -->
                    </div>
                </div>
            </header>
            <!--End-->
            <div class="main-container">
                <div class="container">
                    <section class="main-ctn-cus row">
                        <?php echo $this->fetch('content');?>
                        <div class="col-xs-12 col-sm-4 col-md-4 col-lg-4">
                            <div class="aside-block">
                                <span class="bgsh-l"></span>
                                <span class="bgsh-r"></span>
                                <div class="aside-block-content">
                                    <div class="aside-block-home-bg">
                                        <div class="aside-block-home">
                                            <!--Tin moi nhat-->
                                            <?php echo $this->fetch('hot-news');?>
                                            <!--End-->
                                            <!--Ban tin hang thang-->
                                            <?php echo $this->fetch('monthly-newsletter');?>
                                            <!--End-->
                                        </div>
                                    </div>
                                    <?php echo $this->fetch('contacts');?>
                                    <?php echo $this->fetch('videos');?>
                                    <?php echo $this->fetch('online');?>
                                </div>
                            </div>
                        </div>
                    </section>
                </div>
            </div>
            <footer id="footer-container" class="container">
                <?php echo $this->fetch('footers');?>
            </footer>
        </div>
        <!-- mav mobile -->
        <div class="navbar-mobile" id="menu">
            <?php echo $this->fetch('menu-responsive');?>
        </div>
        <!-- mav mobile -->
        <?php echo $this->Html->script(array('libs/jquery-1.11.0.min','libs/bootstrap.min','libs/bootstrap-tabcollapse','libs/jquery.mousewheel','libs/jquery.easing','libs/jquery.flexslider-min','libs/jquery.mmenu.min','libs/jquery.mCustomScrollbar','custom/jquery.paginator','custom/jquery.validate','custom/messages_vi','custom/developer','custom/common'));?>
    </body>
</html>